mtd: atmel-nand: use pmecc_readl(b)/pmecc_writel to access the pmecc register
authorWu, Josh <[email protected]>
Tue, 24 Jun 2014 10:18:06 +0000 (18:18 +0800)
committerAndreas Bießmann <[email protected]>
Thu, 18 Sep 2014 22:11:13 +0000 (00:11 +0200)
commit14b3b44edaf85e8ebc31e2068c2b5e56c2a941db
treef6df1d041ed7b61fd83162758906c19cc68ca1ba
parent9170818a4e004af7893fa0113f6e5b4afafded55
mtd: atmel-nand: use pmecc_readl(b)/pmecc_writel to access the pmecc register

We defined the macro pmecc_readl(b)/pmecc_writel for pmecc register access.
But in the driver we also use the readl(b)/writel.
To keep consistent, this patch make all use pmecc_readl(b)/pmecc_writel.

Signed-off-by: Josh Wu <[email protected]>
Reviewed-by: Andreas Bießmann <[email protected]>
Signed-off-by: Andreas Bießmann <[email protected]>
drivers/mtd/nand/atmel_nand.c
drivers/mtd/nand/atmel_nand_ecc.h